package com.yft.service.competence;

import com.yft.entity.base.Order;
import com.yft.entity.base.Pager;
import com.yft.entity.competence.SysCompetence;

import java.util.List;

/**
 * 
 * @author zhangming
 *
 */
public interface SysCompetenceService {
	
	public List<SysCompetence> getSysCompetenceList(SysCompetence condition, Order order, Pager pager);
	
	public Integer addSysCompetence(SysCompetence sysCompetence);
	
	/**
	 * 带事务的实体添加方法
	 * @param sysCompetence
	 * @return
	 */
	public Integer addSysCompetenceWithTr(SysCompetence sysCompetence);

	public SysCompetence getSysCompetence(Integer sysCompetencePK);
	
}
